package com.ruoyi.project.query.paeaDsCusv.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.query.paeaDsCusv.domain.PaeaDsCusv;
import com.ruoyi.project.query.paeaDsLink.domain.DsCustAccLink;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 客户Mapper接口
 *
 * @author gang.wei
 * @date 2020-04-06
 */
@Component
public interface PaeaDsCusvMapper extends BaseMapper<PaeaDsCusv>
{

    /**
     * 查询客户列表
     *
     * @param dsCusv 客户
     * @return 客户集合
     */
    public List<PaeaDsCusv> selectPaeaDsCusvList(PaeaDsCusv dsCusv);

    /**
     * 新增客户
     *
     * @param dsCusv 客户
     * @return 结果
     */
    public int insertPaeaDsCusv(PaeaDsCusv dsCusv);

    /**
     * 修改客户
     *
     * @param dsCusv 客户
     * @return 结果
     */
    public int updatePaeaDsCusv(PaeaDsCusv dsCusv);

    public List<DsCustAccLink> queryDsCustAccLink(DsCustAccLink dsCustAccLink);
}
